#include "HitAbility.h"

HitAbility::HitAbility(Hittable* hittable): hittableInterface(hittable)
{
}

HitAbility::HitAbility(const HitAbility& rhs): GameAbility(rhs), hittableInterface(rhs.hittableInterface)
{
}

HitAbility::~HitAbility()
{
}

void HitAbility::Accept(GameAbilityVisitor& visitor)
{
	visitor.Visit(*this);
}

Hittable* HitAbility::HittableInterface()
{
	return hittableInterface;
}
